﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Core.Logging;
using Microsoft.Practices.Unity;
using Utils;

namespace LoggerService
{
    public class Logger : BaseLogger, ILogger
    {
        public Logger(IUnityContainer Container)
            : base(Container)
        {
        }
       
        public void LogError(Exception e)
        {
            Log(e.BuildErrorString());
        }

        public void LogMessage(string message)
        {
            Log(message);
        }
    }
}
